<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style type="text/css">
    *{
        margin: 0;
        padding: 0;
    }
    ul{

        list-style-type: none ;
    }
    ul li{
        float: left;
        width: 64px;
        height: 32px;
        margin-right: 8px;
        background: #c1e2b3;


    }
    ul li:hover{
        background:#c1e2b3 ;
    }
    ul li a{
        text-align: center;
        display: block;
        height: 100%;
        color: white;
        text-decoration: none;
        line-height: 32px;

    }
    </style>
</head>
<body>
<ul>
    <li><a href="#">首页</a></li>
    <li><a href="#">关于</a></li>
    <li><a href="#">工程</a></li>
    <li><a href="#">会员</a></li>
    <li><a href="#">联系</a></li>
</ul>

</body>
</html>